package com.dao;


import com.controller.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    User selectUserByUsernameAndPassword(@Param("username") String username, @Param("password") String password);

    int addUser(User user);

    void loginUserLog(@Param("username") String username, @Param("status") String status, @Param("time") String time);

    void registerLog(@Param("user") User user, @Param("status") String status, @Param("time") String time);

}
